filechooser: Fix compile warning
authorBenjamin Otte <otte@redhat.com>
Sat, 10 Sep 2011 14:11:27 +0000 (16:11 +0200)
committerBenjamin Otte <otte@redhat.com>
Sat, 10 Sep 2011 14:11:27 +0000 (16:11 +0200)
gtk/gtkfilechooserdefault.c

index d7c1ebf2290f6664cc1c11818aa4997e88c94dbe..c8aaff4faa4bc72a3ff926704418d44616cd3d2d 100644 (file)
@@ -3908,7 +3908,7 @@ visit_file_cb (GtkMenuItem *item,
     {
       GFile *file = files->data;
 
-      gtk_file_chooser_default_select_file (impl, file, NULL); /* NULL-GError */
+      gtk_file_chooser_default_select_file (GTK_FILE_CHOOSER (impl), file, NULL); /* NULL-GError */
     }
 
   g_slist_foreach (files, (GFunc) g_object_unref, NULL);